package com.example.gc.webredisgc;

import com.allqj.qjf.framework_base.annotation.StandardLibraryApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.elasticsearch.ElasticsearchDataAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.scheduling.annotation.EnableAsync;

//@EnableAspectJAutoProxy(exposeProxy = true)
@EnableEurekaClient

@SpringBootApplication  // (exclude = {ElasticsearchDataAutoConfiguration.class})
//@EnableDiscoveryClient
@StandardLibraryApplication
//@EnableCaching
@EnableAsync
public class WebRedisGcApplication {

    static {
        System.setProperty("es.set.netty.runtime.available.processors", "false");
    }

    public static void main(String[] args) {
        SpringApplication.run(WebRedisGcApplication.class, args);
    }

}
